﻿Public Class ViewDashboardDataBinding

    Private Sub Button_Click_1(sender As Object, e As Windows.RoutedEventArgs)

    End Sub
End Class

Public Class ViewModelDashboardDataBinding
    Inherits UIObject

    Public ReadOnly Property DataSourceList As DataSourceCollection
        Get
            Return ModuleDashboarding._activeproject.DataSourceList
        End Get
    End Property



    Private _DataSource As DataSource
    Public Property DataSource As DataSource
        Get
            Return _DataSource
        End Get
        Set(ByVal value As DataSource)
            _DataSource = value
            OnPropertyChanged("DataSource")
        End Set
    End Property

    Private _DataMember As DataSourceColumn
    Public Property DataMember As DataSourceColumn
        Get
            Return _DataMember
        End Get
        Set(ByVal value As DataSourceColumn)
            _DataMember = value
            OnPropertyChanged("DataMember")
        End Set
    End Property

    Private _Aggregate As String
    Public Property Aggregate As String
        Get
            Return _Aggregate
        End Get
        Set(ByVal value As String)
            _Aggregate = value
            OnPropertyChanged("Aggregate")
        End Set
    End Property

    Private _DimensionSorting As String
    Public Property DimensionSorting As String
        Get
            Return _DimensionSorting
        End Get
        Set(ByVal value As String)
            _DimensionSorting = value
            OnPropertyChanged("DimensionSorting")
        End Set
    End Property

    Private _DimensionDataMember As DataSourceColumn
    Public Property DimensionDataMember As DataSourceColumn
        Get
            Return _DimensionDataMember
        End Get
        Set(ByVal value As DataSourceColumn)
            _DimensionDataMember = value
            OnPropertyChanged("DimensionDataMember")
        End Set
    End Property

    Private _WeightSorting As String
    Public Property WeightSorting As String
        Get
            Return _WeightSorting
        End Get
        Set(ByVal value As String)
            _WeightSorting = value
            OnPropertyChanged("WeightSorting")
        End Set
    End Property

    Private _WeightDataMember As DataSourceColumn
    Public Property WeightDataMember As DataSourceColumn
        Get
            Return _WeightDataMember
        End Get
        Set(ByVal value As DataSourceColumn)
            _WeightDataMember = value
            OnPropertyChanged("WeightDataMember")
        End Set
    End Property



End Class